// Copyright 叶湘 ( weixin:yexiang841, email:yexiang841@qq.com ), Shitouren Studio. All Rights Reserved.

#include "Component/Q3D_FighterGun/Q3D_CPPA_FighterBullet_TypeA.h"
#include "Hit/Q3D_CPPC_HitCauser.h"

// Sets default values
AQ3D_CPPA_FighterBullet_TypeA::AQ3D_CPPA_FighterBullet_TypeA()
{
    this->Ptr_C_HitCauser = CreateDefaultSubobject<UQ3D_CPPC_HitCauser>(TEXT("UQ3D_CPPC_HitCauser"));
}

void AQ3D_CPPA_FighterBullet_TypeA::Q3D_IF_Hit_Set_Implementation(const TMap<FName, UQ3D_CPPU_Hit *> &map_name_to_ptr_u_hit_param, bool &bool_success, FString &string_log)
{
    this->Ptr_C_HitCauser->Q3D_F_Hit_Set(map_name_to_ptr_u_hit_param, bool_success, string_log);
}

void AQ3D_CPPA_FighterBullet_TypeA::Q3D_IF_Hit_SetToTarget_Implementation(AActor *ptr_a_hit_target, bool &bool_success, FString &string_log)
{
    this->Ptr_C_HitCauser->Q3D_F_Hit_SetToTarget(ptr_a_hit_target, bool_success, string_log);
}